<template>
  <div class="search flex aic bg-fff mt-10 pt-5 pb-5 pl-20">
    <p>月份选择：</p>
    <el-config-provider>
      <el-date-picker v-model="changeMonth" type="month" placeholder="选择月份" />
    </el-config-provider>
    <button class="bg-blue fff ml-10 f12">导出数据</button>
  </div>
</template>

<script lang="ts" setup>
import { ref, watch} from "vue";
import * as api from "../../../api/index";
const changeMonth = ref(""); 
// watch (changeMonth,()=>{ 
//   let date = new Date(changeMonth.value).getTime();
//   console.log(date);
//   let data ={
//     ctime:date,
//   }
//   api.$feeRechargeList(data).then((res) => {
//     console.log(res);
//   });
// })
</script>

<style lang="less">
.search{
    p{
        margin-right: 10px;
    }
    button{
        border: none;
        border-radius: 3px;
        padding: 5px 10px;
    }
}
</style>